package com.xcf.service.business.common.routeattachfee.impl;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xcf.dao.DaoSupport;
import com.xcf.entity.Page;
import com.xcf.service.business.common.routeattachfee.RouteAttachFeeService;
import com.xcf.util.PageData;
@Service("RouteAttchFeeService")
public class RouteAttachFeeServiceImpl implements RouteAttachFeeService{
	@Resource(name = "daoSupport")
	private DaoSupport dao;
	@SuppressWarnings("unchecked")
	@Override
	public List<PageData> findRouteAttachFeeInfo(PageData pd) throws Exception {
		
		return (List<PageData>)dao.findForList("RouteAttchFee.findRouteAttchFee", pd);
	}
	@Override
	public void saveRouteAttachFeeInfo(PageData pd) throws Exception {
		dao.save("RouteAttchFee.saveRouteAttchFee", pd);
		
	}
	@Override
	public void updateRouteAttachFeeInfo(PageData pd) throws Exception {
		dao.update("RouteAttchFee.updateRouteAttchFee", pd);
		
	}
	@Override
	public void deleteRouteAttachFeeInfo(PageData pd) throws Exception {
		dao.delete("RouteAttchFee.deleteRouteAttchFee", pd);
		
	}
	@Override
	public PageData findRouteAttachFeeInfoById(PageData pd) throws Exception {
		
		return (PageData)dao.findForObject("RouteAttchFee.findRouteAttchFeeById", pd);
	}

}
